package org.argeproje.resim.proc.input;

import org.argeproje.resim.proc.ConnectionRule;
import org.argeproje.resim.proc.data.ConstDA;
import org.argeproje.resim.proc.data.Data;


public class ConstInputPR extends InputPR {
	protected void setConnectionRules(ConnectionRule connRule){
		connRule.addOutType(ConstDA.class);
	}
	public void setParameters(float value){
		setParamValue(value);
	}
	protected float _value;
	public void setParamValue(float value){
		_value = value;
	}
	public float getParamValue(){
		return _value;
	}
	public Data process() {
		ConstDA out = new ConstDA(getParamValue());
		setOutput(out);
		return getOutput();
	}

}
